package com.naiterui.ehp.bs.file.api.exception;

import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * 文件服务异常相关
 *
 * @author yangfuya
 * @since 2021/9/13
 */
public class FileException extends BusinessException {

    private static final long serialVersionUID = 5317439861979735738L;

    public FileException(FileExceptionCodeEnum exceptionCode) {
        super(exceptionCode.getCode(), exceptionCode.getMsg());
    }

    public FileException(int code, String msg) {
        super(code, msg);
    }

    public FileException(int code, String msg, Throwable cause) {
        super(code, msg, cause);
    }
}
